package com.model.dto.machine.machineInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * TODO
 *
 * @Description
 * @Author tm
 * @Date 2023-08-26 9:30
 **/
@Data
public class GetMachineListDTO {
    @ApiModelProperty(value = "page必须是正整数")
    @Range(min = 0, message = "page必须是正整数")
    private int page = 1;

    @ApiModelProperty(value = "pageSize必须是正整数")
    @Range(min = 0, message = "pageSize必须是正整数")
    private int pageSize = 10;
    @ApiModelProperty(value = "设备编号")
    private String machineNo;
    @ApiModelProperty(value = "终端号")
    private String dtu;
    @ApiModelProperty(value = "经销商姓名")
    private String dealerName;
    @ApiModelProperty(value = "经销商手机号码")
    private String dealerPhone;
    @ApiModelProperty(value = "销售状态,0未销售，1已销售")
    private Integer isSell;
}
